﻿/***********************************************************************
 * <copyright file="CustomerEntity.cs" company="BUCA JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   Hoàng Bích Sơn
 * Email:    sonhb@buca.vn
 * Website:
 * Create Date: Friday, March 7, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/


using System.Runtime.Serialization;
using BusinessObjects.BusinessRules;

namespace AcountingService.DataTransferObjects.Dictionary
{

    /// <summary>
    /// CustomerEntity class
    /// </summary>
     [DataContract(Namespace = "http://www.yourcompany.com/types/")]
    public class CustomerDto   
    {

        /// <summary>
        /// </summary>
        [DataMember]
         public int CustomerId { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public long UnitId { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public string Code { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public string Name { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public string Address { get; set; }

        /// <summary>
        /// </summary>
        [DataMember]
         public string PhoneNumber { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public string Fax { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public string CompanyName { get; set; }

        /// <summary>
        /// </summary>
        [DataMember]
         public string ContactName { get; set; }

        /// <summary>
        /// </summary>
        [DataMember]
         public string Description { get; set; }

        /// <summary>
        /// </summary>
         [DataMember]
         public bool IsActive { get; set; }
    }
}
